

<?php
/**
 * 
 * Simpily demo how to get a web page and return to the standard output.
 * @var unknown_type
 */
$url = "http://hk.yahoo.com";
$c = curl_init($url);
curl_setopt($c, CURLOPT_RETURNTRANSFER, true);
$page = curl_exec($c);
curl_close($c);
echo $page;
?>